package com.inno.subject.controller.convert;

import com.inno.subject.controller.dto.SubjectRankDTO;
import com.inno.subject.domain.entity.SubjectRankBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectRankDTOConverter {
    SubjectRankDTOConverter INSTANCE = Mappers.getMapper(SubjectRankDTOConverter.class);

    SubjectRankBO convertDTOToBO(SubjectRankDTO subjectRankDTO);

    List<SubjectRankDTO> convertBOListToDTOList(List<SubjectRankBO> boList);
}
